﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _04DigitCheck
{
    class _04DigitCheck
    {
        static void Main(string[] args)
        {
            Console.WriteLine("This program will tell you if the third integer form right to left is 7.");
            
            int number = int.Parse(Console.ReadLine());

            int numberBy100 = number / 100;

            int thirdDigit = numberBy100 % 10;
            
            bool thirdEqualsSeven = thirdDigit == 7;
            
            Console.WriteLine(thirdEqualsSeven ? "Yes the third digit form right to left is seven." : "No no, the third digit from right to left is not seven.");
        }
    }
}
